﻿using System;
using System.Net;

namespace OAuth.Net.Consumer
{
    /// <summary>
    /// 
    /// </summary>
    public class PreSendHttpWebRequestEventArgs : EventArgs
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="request"></param>
        public PreSendHttpWebRequestEventArgs(HttpWebRequest request, 
            string bodyContent = null)
        {
            Request = request;
            BodyContent = bodyContent;
        }

        /// <summary>
        /// The request token issued by the service provider
        /// </summary>
        public HttpWebRequest Request { get; private set; }

        /// <summary>
        /// The request token issued by the service provider
        /// </summary>
        public string BodyContent { get; private set; }
    }
}
